xen/arm: Allow Xen to run on multiple platform without recompilation
authorJulien Grall <julien.grall@linaro.org>
Sat, 27 Apr 2013 22:03:25 +0000 (23:03 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 13 May 2013 11:00:00 +0000 (12:00 +0100)
commit93f8194038ebddca5898cf889b45a5dc0ba903c1
tree6c074e7c33b28dd0686a3fa9bb8424275c9f03af
parente20feb2925e4dc7459c18accb667b32892463ce0
xen/arm: Allow Xen to run on multiple platform without recompilation

Xen can include various platform support (ie: exynos5, versatile express...)
and choose during boot time a set of callbacks for the current board.
These callbacks will be called in places where each board can have specific
code. For the moment the callbacks are:
    - platform_init: additional initialization for the platform
    - platform_init_time: some platform (ie: Exynos 5) needs to initialize
    the timer with an uncommon way
    - platform_specific_mapping: add mapping to dom0 which are not specified
    in the device tree
    - platform_reset: reset the platform
    - platform_poweroff: poweroff the platform
    - platform_quirks: list of quirks for a specific board.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/arm/Makefile
xen/arch/arm/domain_build.c
xen/arch/arm/platform.c [new file with mode: 0644]
xen/arch/arm/setup.c
xen/arch/arm/shutdown.c
xen/arch/arm/time.c
xen/arch/arm/xen.lds.S
xen/include/asm-arm/platform.h [new file with mode: 0644]